package com.cat.recruit.util;

import java.util.HashMap;
import java.util.Map;

public class StateUtils {
    private static final Map<String, String> STATE_MAPPING = new HashMap<>();

    static {
        STATE_MAPPING.put("初面", "已报名");
        STATE_MAPPING.put("一面", "初面通过");
        STATE_MAPPING.put("二面", "一轮考核通过");
    }

    private StateUtils() {
        // 工具类构造方法私有化，防止被实例化
    }

    public static String convert(String state) {
        return STATE_MAPPING.getOrDefault(state, state);
    }
}
